package com.shopping.mall.core.module.goods.mapper;

import com.shopping.mall.core.module.goods.entity.Goods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * GoodsMapper 接口
 * </p>
 *
 * @author zzy
 * @since 2021-08-13
 */
@Mapper
public interface GoodsMapper extends BaseMapper<Goods> {

    List<Goods> getGoodWithSpecificationById(List<String> idList);

    List<Goods> getRandomGoods(Integer n);

}
